projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e6d8eed
)
bookmarklist: Don't leak uris
author
Matthias Clasen
<mclasen@redhat.com>
Wed, 8 Jul 2020 20:42:01 +0000
(16:42 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Wed, 8 Jul 2020 21:44:23 +0000
(17:44 -0400)
This leak showed up in multiple places while
running the testsuite under asan.
gtk/gtkbookmarklist.c
patch
|
blob
|
history
diff --git
a/gtk/gtkbookmarklist.c
b/gtk/gtkbookmarklist.c
index 5f81147933936bcb57c84797b80dda9d48f36a9a..537389e3165c96d30ed88116a4a89ca18306a9d0 100644
(file)
--- a/
gtk/gtkbookmarklist.c
+++ b/
gtk/gtkbookmarklist.c
@@
-369,6
+369,8
@@
gtk_bookmark_list_start_loading (GtkBookmarkList *self)
self);
g_object_unref (file);
}
+
+ g_strfreev (uris);
}
else
{